package cn.harvest.storage.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Merchandise entity. @author MyEclipse Persistence Tools
 */

public class Merchandise implements java.io.Serializable {

	// Fields

	private Integer merchandiseId;
	private MerchandiseUnit merchandiseUnit;
	private MerchandiseType merchandiseType;
	private String merchandiseCid;
	private String merchandiseName;
	private Float merchandiseAmount;
	private Float merchandiseHeightAlert;
	private String merchandiseNorm;
	private Float merchandiseLowAlert;
	private String merchandiseMemo;
	private Set invoiceItems = new HashSet(0);

	// Constructors

	/** default constructor */
	public Merchandise() {
	}

	/** full constructor */
	public Merchandise(MerchandiseUnit merchandiseUnit,
			MerchandiseType merchandiseType, String merchandiseCid,
			String merchandiseName, Float merchandiseAmount,
			Float merchandiseHeightAlert, String merchandiseNorm,
			Float merchandiseLowAlert, String merchandiseMemo, Set invoiceItems) {
		this.merchandiseUnit = merchandiseUnit;
		this.merchandiseType = merchandiseType;
		this.merchandiseCid = merchandiseCid;
		this.merchandiseName = merchandiseName;
		this.merchandiseAmount = merchandiseAmount;
		this.merchandiseHeightAlert = merchandiseHeightAlert;
		this.merchandiseNorm = merchandiseNorm;
		this.merchandiseLowAlert = merchandiseLowAlert;
		this.merchandiseMemo = merchandiseMemo;
		this.invoiceItems = invoiceItems;
	}

	// Property accessors

	public Integer getMerchandiseId() {
		return this.merchandiseId;
	}

	public void setMerchandiseId(Integer merchandiseId) {
		this.merchandiseId = merchandiseId;
	}

	public MerchandiseUnit getMerchandiseUnit() {
		return this.merchandiseUnit;
	}

	public void setMerchandiseUnit(MerchandiseUnit merchandiseUnit) {
		this.merchandiseUnit = merchandiseUnit;
	}

	public MerchandiseType getMerchandiseType() {
		return this.merchandiseType;
	}

	public void setMerchandiseType(MerchandiseType merchandiseType) {
		this.merchandiseType = merchandiseType;
	}

	public String getMerchandiseCid() {
		return this.merchandiseCid;
	}

	public void setMerchandiseCid(String merchandiseCid) {
		this.merchandiseCid = merchandiseCid;
	}

	public String getMerchandiseName() {
		return this.merchandiseName;
	}

	public void setMerchandiseName(String merchandiseName) {
		this.merchandiseName = merchandiseName;
	}

	public Float getMerchandiseAmount() {
		return this.merchandiseAmount;
	}

	public void setMerchandiseAmount(Float merchandiseAmount) {
		this.merchandiseAmount = merchandiseAmount;
	}

	public String getMerchandiseNorm() {
		return this.merchandiseNorm;
	}

	public void setMerchandiseNorm(String merchandiseNorm) {
		this.merchandiseNorm = merchandiseNorm;
	}

	public String getMerchandiseMemo() {
		return this.merchandiseMemo;
	}

	public void setMerchandiseMemo(String merchandiseMemo) {
		this.merchandiseMemo = merchandiseMemo;
	}

	public Set getInvoiceItems() {
		return this.invoiceItems;
	}

	public void setInvoiceItems(Set invoiceItems) {
		this.invoiceItems = invoiceItems;
	}

	public Float getMerchandiseHeightAlert() {
		return merchandiseHeightAlert;
	}

	public void setMerchandiseHeightAlert(Float merchandiseHeightAlert) {
		this.merchandiseHeightAlert = merchandiseHeightAlert;
	}

	public Float getMerchandiseLowAlert() {
		return merchandiseLowAlert;
	}

	public void setMerchandiseLowAlert(Float merchandiseLowAlert) {
		this.merchandiseLowAlert = merchandiseLowAlert;
	}

}